<!doctype html><html><head><meta charset="UTF-8"/><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
            CSS.supports('top: constant(a)'))
            document.write(
                '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
                (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><title>贴吧小程序</title><style>uni-actionsheet {
                visibility: hidden;
            }</style><script>try {
                function getQuery(query) {
                    var res = '';
                    var reg = new RegExp(`(\\?|&)${query}=([^&#]*)(#|&|$)`, 'ig');
                    var matches = reg.exec(window.location.href);
                    if (matches) {
                        res = matches[2];
                    }
                    return res;
                };
                function getTid() {
                    var tid = '';
                    var url = window.location.href;
                    var reg = /\/p\/(\d+)/ig;
                    var result = reg.exec(url) || null;
                    if (result) {
                        tid = result[1];
                    }
                    return tid || getQuery('tid') || getQuery('id') || '';
                };
                function getKw() {
                    if (window.location.pathname === '/f') {
                        return getQuery('kw') || '';
                    }
                    return '';
                }
                var tid = getTid();
                var kw = getKw();
                if (window.navigator.userAgent.indexOf('baiduboxapp') > -1 && window.navigator.userAgent.indexOf('swan') === -1 && window.location.hostname !== 'tieba.baidu.com' && (tid || kw)) {
                    var script = document.createElement('script');
                    script.type = 'text/javascript';
                    script.src = 'https://b.bdstatic.com/searchbox/icms/searchbox/js/swanInvoke.js';
                    var loadParams = {};
                    if (tid) {
                        loadParams = {
                            path: '/pages/pb/pb',
                            query: {
                                tid: tid,
                            }
                        }
                    } else {
                        loadParams = {
                            path: '/pages/frs/frs',
                            query: {
                                kw: kw,
                            }
                        }
                    }
                    script.onload = function () {
                        var args = {
                            appKey: 'flFqXclepWs7RdugAszy9eERL7G5dS0I',
                            path: loadParams.path,
                            query: loadParams.query
                        };
                        window.swanInvoke(args);
                        setTimeout(function() {
                            history.back();
                        }, 500);
                    }
                    document.head.appendChild(script);
                }
                if (window.location.hash.indexOf('/postPage') > -1 || window.location.hash.indexOf('/lzlPage') > -1) {
                    window.location.href = 'https://tieba.baidu.com/p/' + tid;
                }
            } catch (err) {}</script><script defer="defer" src="//tb3.bdstatic.com/tb/wise/wise-main-core/static/uni/static/js/chunk-vendors.09517a6c.js"></script><script defer="defer" src="//tb3.bdstatic.com/tb/wise/wise-main-core/static/uni/static/js/index.58d1e0d4.js"></script></head><body><div id="app"></div><script type="module" src="/src/main.ts"></script></body><script>var _hmt = _hmt || [];
        (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?049d6c0ca81a94ed2a9b8ae61b3553a5";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
        })();</script></html>